{{ define "main" -}}
<div class="post">
  <h1>{{ .Title }}</h1>
  <time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "2006-01-02 Mon" }}</time>
  {{ .Content }}
  <div class="permalink">
    {{if .PrevInSection}}<a class="f-right" href="{{.PrevInSection.Permalink}}">{{.PrevInSection.LinkTitle}}&rarr;</a>{{end}}
    {{if .NextInSection}}<a class="f-left" href="{{.NextInSection.Permalink}}">&larr;{{.NextInSection.LinkTitle}}</a>{{end}}
  </div>
</div>


{{ if .Site.DisqusShortname -}}
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}
{{- end }}
